Skip to content

Conversation

@ghost
Copy link

@ghost ghost commented Feb 13, 2025

What type of PR is this?

  • bug
  • feature
  • enhancement

What problem(s) does this PR solve?

Issue(s) number: #2747

Description:

Added the possibility of converting stored timestamps (int) into a convenient readable date string.
Integrated into a stock date() function. This will save the user from the need for additional transformations.

How do you solve it?

Added the detection of a stored/requested type. If the date(int) function is called, the date string desired to the user is returned. There was a refusal earlier.

Special notes for your reviewer, ex. impact of this fix, design document, etc:

Before:
before-1
before-2

After:
after-1
after-2

Unit Test:
2724-test

Checklist:

Tests:

  • Unit test(positive and negative cases)
  • Function test
  • Performance test
  • N/A

Affects:

  • Documentation affected (Please add the label if documentation needs to be modified.)
  • Incompatibility (If it breaks the compatibility, please describe it and add the label.)
  • If it's needed to cherry-pick (If cherry-pick to some branches is required, please label the destination version(s).)
  • Performance impacted: Consumes more CPU/Memory

Release notes:

added built-in timestamp transformation in the date function

@CLAassistant
Copy link

CLAassistant commented Feb 13, 2025

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Artem-OSSRevival seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@ghost ghost changed the title added built-in timestamp transformation in the date function #2747 added built-in timestamp transformation in the date function Feb 13, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant